package com.yuju.log.dao.entity;

import com.yuju.persist.base.entity.BaseEntity;
import java.io.Serializable;
import java.util.Date;

public class LogBizType extends BaseEntity implements Serializable {
    /**
     *  主键。存储UUID，由应用生成。,所属表字段为log_biz_type.id
     */
    private String id;

    /**
     *  编码，编号。,所属表字段为log_biz_type.code
     */
    private String code;

    /**
     *  业务日志分类名称,所属表字段为log_biz_type.name
     */
    private String name;

    /**
     *  父业务日志编码,所属表字段为log_biz_type.parent_code
     */
    private String parentCode;

    /**
     *  附业务日志名称,所属表字段为log_biz_type.parent_code_name
     */
    private String parentCodeName;

    /**
     *  输出模板。,所属表字段为log_biz_type.template
     */
    private String template;

    /**
     *  创建时间。,所属表字段为log_biz_type.gmt_create
     */
    private Date gmtCreate;

    /**
     *  修改时间。,所属表字段为log_biz_type.gmt_modified
     */
    private Date gmtModified;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public String getParentCodeName() {
        return parentCodeName;
    }

    public void setParentCodeName(String parentCodeName) {
        this.parentCodeName = parentCodeName;
    }

    public String getTemplate() {
        return template;
    }

    public void setTemplate(String template) {
        this.template = template;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", code=").append(code);
        sb.append(", name=").append(name);
        sb.append(", parentCode=").append(parentCode);
        sb.append(", parentCodeName=").append(parentCodeName);
        sb.append(", template=").append(template);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append("]");
        return sb.toString();
    }
}